/*
 * Project: com.mmall.pay.provider.model
 *
 * File Created at 2019-10-29
 *
 * Copyright 2019 CMCC Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ZYHY Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license.
 */
package com.mmall.pay.provider.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.common.framework.model.DeletableDO;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author jianghucoding
 * @date 2019-10-29
 */
@Data
@Accessors(chain = true)
@TableName("pay_apply")
public class PayApplyDO extends DeletableDO {

    /**
     * 申请人
     */
    private Long userId;

    /**
     * 订单 ID
     */
    private Long orderId;

    /**
     * 申请支付的金额
     */
    private Integer amount;

    /**
     * 申请支付的渠道
     * 1 支付宝
     * 2 微信
     */
    private Integer payChannel;

    /**
     * 申请支付的状态
     * 0: 新申请等待支付完成（第三方回调通知）
     * 1：支付完成
     * -1： 支付失败
     */
    private Integer status;

    /**
     * 第三方支付的流水号
     */
    private String payNumber;

    private String remark;
}
